package com.house.rent.ui.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import com.base.lib.mvp.present.BasePresenter;
import com.house.rent.BuildConfig;
import com.house.rent.R;

import butterknife.BindView;

/**
 * @author neo.duan
 * @date 2019/09/09
 * @desc 关于页面
 */
public class AboutUsActivity extends BaseActivity {

    @BindView(R.id.tv_version)
    TextView mTvAppName;

    public static void start(Context context) {
        Intent starter = new Intent(context, AboutUsActivity.class);
        context.startActivity(starter);
    }

    @Override
    protected int getLayoutResId() {
        return R.layout.activity_about_us;
    }

    @Override
    protected void initTop() {
        setTitle("关于我们");
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        mTvAppName.setText("版本号: v" + BuildConfig.VERSION_NAME);
    }

    @Override
    protected void initListeners() {

    }

    @Override
    protected BasePresenter initPresenter() {
        return null;
    }

    @Override
    protected void initData() {

    }
}
